<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/2/23
 * Time: 14:48
 */
class Model_Test extends  PhalApi_Model_NotORM{
    protected function getTableName($id){
        return 'p_user';
    }
    public function getByUser(){
        return $this->getORM()->select('*')->fetchAll();
    }
}